package org.zebra.web.annotation.crypto;

import java.lang.annotation.*;

/**
 * @author zhanghongbin
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ApiCrypto {

    /**
     * 请求是否加密
     *
     * @return true,false
     */
    boolean request() default true;

    /**
     * 响应是否加密
     *
     * @return true,false
     */
    boolean response() default true;
}
